-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Add tests for Project Euler Problem 5 + minor refactor #1691
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…hrown error in case of invalid input
…ascript into project-euler-5
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1691 +/- ##
==========================================
+ Coverage 84.65% 84.76% +0.10%
==========================================
Files 378 378
Lines 19744 19742 -2
Branches 2952 2956 +4
==========================================
+ Hits 16715 16735 +20
+ Misses 3029 3007 -22 ☔ View full report in Codecov by Sentry. |
@raklaptudirm @appgurueu I have formatted the code with Prettier. But the Codecov report says, |
As the codecov report shows, the trivial error check is not tested (see https://app.codecov.io/gh/TheAlgorithms/JavaScript/pull/1691/blob/Project-Euler/Problem005.js). I would probably just remove it. |
@appgurueu @raklaptudirm I think this PR now can be reviewed and merged. |
Describe your change:
Checklist:
Example:
UserProfile.js
is allowed butuserprofile.js
,Userprofile.js
,user-Profile.js
,userProfile.js
are notFixes: #{$ISSUE_NO}
.